﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using System.Media;

namespace Battle
{
    public partial class WinerForm : Form
    {
        public SoundPlayer soundPlayerMain = new SoundPlayer(Resource1.congratulation);
        public WinerForm()
        {
            InitializeComponent();
            soundPlayerMain.Play();
        }

        private void WinerForm_FormClosing(object sender, FormClosingEventArgs e)
        {
            soundPlayerMain.Stop();
        }
    }
}
